package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-10-25
 */
@Data
@TableName("TMS_OrderAdditionTransport")
@ApiModel(value = "OrderadditiontransportDO对象", description = "")
public class OrderAdditionTransportDO implements Serializable {


    private static final long serialVersionUID = 5023662671550789940L;
    @ApiModelProperty("主键id")
    @TableId(value = "Transport_Id", type = IdType.AUTO)
    private Long transportId;

    @ApiModelProperty("订单id")
    private Long transportOrderid;

    @ApiModelProperty("交通方式，1飞机，2火车，3轮渡，4电子回单")
    private Integer transportType;

    @ApiModelProperty("交通车次（航班号，火车车次，轮渡船名）/电子回单编码")
    private String transportNo;

    @ApiModelProperty("开始时间")
    private LocalDateTime transportStarttime;

    @ApiModelProperty("结束时间")
    private LocalDateTime transportEndtime;

    @ApiModelProperty("出发地")
    private String transportStartplace;

    @ApiModelProperty("到达地")
    private String tranposrtEndplace;

    @ApiModelProperty("创建时间")
    private LocalDateTime transportInserttime;

    @ApiModelProperty("创建人")
    private Long transportCreator;

    @ApiModelProperty("轨迹点备注")
    private String transportRemark;

    @ApiModelProperty("0 未到达终点站，1 已到达终点站，火车默认已经到达终点站")
    private Integer transportIsarrive;

    @ApiModelProperty("火车/飞机始发站到终点站的平均速度 单位  千米/小时")
    private Double transportSpeed;

    @ApiModelProperty("电子回单/途经省")
    private Long transportWayprovince;

    @ApiModelProperty("电子回单/途径市")
    private Long transportWaycity;

    @ApiModelProperty("电子回单/途径区")
    private Long transportWaydistrict;

    @ApiModelProperty("电子回单/途径详细地址")
    private String transportWayto;

    @ApiModelProperty("电子回单序号")
    private Integer transportSequence;

    @ApiModelProperty("0有效 1无效")
    private Integer transportInvalid;

    @ApiModelProperty("操作人")
    private Long transportOperator;

    @ApiModelProperty("操作时间")
    private LocalDateTime transportOperatortime;

    @TableField(exist = false)
    private String wayProvince;

    @TableField(exist = false)
    private String wayCity;

    @TableField(exist = false)
    private String wayDistrict;

}
